import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { MarshalException } from "../../Engine/RMI/MarshalException";
type int = number;
//class ESpecialConditonType
    
    export  class ESpecialConditonType
    {
        constructor(arg1: int)
        {
            
            this.__value = arg1;
            return;
        }

        public static __read(arg1: SerializeStream): ESpecialConditonType
        {
            var loc1=arg1.readInt();
            if (loc1 < 0 || loc1 >= 100001) 
            {
                throw new MarshalException();
            }
            return ESpecialConditonType.convert(loc1);
        }

        public value(): int
        {
            return this.__value;
        }

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.__value);
            return;
        }

        public static convert(arg1: int): ESpecialConditonType
        {
            return new ESpecialConditonType(arg1);
        }

        public static /* const */_ESpecialConditonTypeRoleEquipColorAndNum: int=2;

        public static /* const */_ESpecialConditonTypeRandPetSkill: int=3;

        public static /* const */_ESpecialConditionTypeMountAdvance: int=4;

        public static /* const */_ESpecialConditionTypeEquipStrengthen: int=5;

        public static /* const */_ESpecialConditionTypeShopBuy: int=6;

        public static /* const */_ESpecialConditionTypeWedding: int=7;

        public static /* const */_ESpecialConditionTypeRootTargetShow: int=8;

        public static /* const */_ESpecialConditonTypeEquipPerfectStrengLvAndNum: int=9;

        public static /* const */_ESpecialConditonTypeEmbedJewelLevelAndNum: int=10;

        public static /* const */_ESpecialConditonTypeEquipRefreshAttrAndStarNum: int=11;

        public static /* const */_ESpecialConditonTypePetGrowthValue: int=12;

        public static /* const */_ESpecialConditonTypePetSpiritValue: int=13;

        public static /* const */_ESpecialConditonTypeAcupointLevelAndNum: int=14;

        public static /* const */_ESpecialConditonTypeRoleEquipColorAndNumEx: int=15;

        public static /* const */_ESpecialConditonTypeRoleSuitEx: int=16;

        public static /* const */_ESpecialConditonTypePlayerLevel: int=17;

        public static /* const */_ESpecialConditonTypePlayerFight: int=18;

        public static /* const */_ESpecialConditonTypePlayerVIPType: int=19;

        public static /* const */_ESpecialConditonTypeRechargeReturnYB: int=20;

        public static /* const */_ESpecialConditonTypeRechargeReturnGift: int=21;

        public static /* const */_ESpecialConditonTypeRechargeReturn: int=22;

        public static /* const */_ESpecialConditonTypeRechargeNumTarget: int=99;

        public static /* const */_ESpecialConditonTypePetSkillCountYB: int=100;

        public static /* const */_ESpecialConditonTypeFristRecharge: int=1000;

        public static /* const */_ESpecialConditonTypeOnceRecharge: int=1001;

        public static /* const */_ESpecialConditonTypeCountRecharge: int=1002;

        public static /* const */_ESpecialConditonTypeCountRechargeMore: int=1003;

        public static /* const */_ESpecialConditonTypeFristExplore40: int=2000;

        public static /* const */_ESpecialConditonTypeFristExplore60: int=2001;

        public static /* const */_ESpecialConditonTypeOnceExplore: int=2002;

        public static /* const */_ESpecialConditonTypeCountExplore40: int=2003;

        public static /* const */_ESpecialConditonTypeCountRechargeRepeat: int=1004;

        public static /* const */_ESpecialConditonTypeCountExploreMore: int=2005;

        public static /* const */_ESpecialConditonTypeCountExploreRepeat: int=2006;

        public static /* const */_ESpecialConditonTypeTopListBase: int=100000;

        public static /* const */_ESpecialConditonTypeRoleSuit: int=1;

        public static /* const */_ESpecialConditonTypeCountExplore60: int=2004;

        public /* var */__value: int;
    }
